package com.sfac.javaSpringCloudTest.service.impl;

import com.sfac.entity.test.Country;
import com.sfac.javaSpringCloudTest.dao.CountryDao;
import com.sfac.javaSpringCloudTest.service.CountryService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;


@Service
public class CountryServiceImpl implements CountryService {

    @Autowired
    private CountryDao countryDao;


    @Override
    public Country getCountryByCountryId(int countryId) {
        return countryDao.getCountryByCountryId(countryId);
    }
}
